package chapter7

import "fmt"

type stringer interface {
	string() string
}
type conte interface {
	stringer
	test()
}

type dasq struct {
}

func (d *dasq)test(){
	fmt.Printf("test%p\n",&(*d))
}
func (d dasq)string()string{
	return fmt.Sprintf("%p",&d)
}
func Test2(){
	var d dasq
	var t conte=&d
	t.test()
	fmt.Println(t.string())
	var m stringer=d
	fmt.Println(m.string())
}









